home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODFDev / Button / Sources / PartInfo.fr < prev    next >
Encoding:
Text File  |  1996-09-17  |  1.4 KB  |  71 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                PartInfo.fr
  4. //    Release Version:    $ ODF 2 $
  5. //
  6. //    Copyright:    (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #ifndef FWRESFIL_K
  11. #include "FWResFil.k"
  12. #endif
  13.  
  14. #ifndef FWPART_FR
  15. #include "FWPart.fr"
  16. #endif
  17.  
  18. #ifndef DEFINES_K
  19. #include "Defines.k"
  20. #endif
  21.  
  22. #ifndef BINDING_K
  23. #include "Binding.k"
  24. #endif
  25.  
  26. #ifndef FWWINDOW_K
  27. #include "FWWindow.k"
  28. #endif
  29.  
  30. //----------------------------------------------------------------------------------------
  31. //    PartInfo Resource
  32. //----------------------------------------------------------------------------------------
  33.  
  34. resource FW_RPartInfo(kPartInfoID)
  35. {
  36.     // ----- Icon ID
  37.     kViewAsIconID,
  38.     
  39.     // ----- MenuBar ID
  40.     0,
  41.     
  42.     // ----- Document Window ID
  43.     kDocumentWindowID,
  44.     
  45.     // ----- Part Name
  46.     "ODFButton R2",
  47.     
  48.     // ----- PartKind
  49.     kODFButtonKind
  50. };
  51.  
  52. //----------------------------------------------------------------------------------------
  53. //    Document Window Resource
  54. //----------------------------------------------------------------------------------------
  55.  
  56. resource FW_RDocumentWindow(kDocumentWindowID)
  57. {
  58.     // ----- Size
  59.     {FW_FIX(200), FW_FIX(80)},
  60.     
  61.     // ----- Position
  62.     {FW_FIX(0), FW_FIX(0)},        // (0,0) means default position
  63.     
  64.     // ----- Style
  65.     FW_kDocumentWindow,
  66.  
  67.     // ----- Presentation
  68.     kODFButtonPresentation
  69. };
  70.  
  71.